package cn.xlsea.influx.config;

import cn.xlsea.influx.InfluxPlus;
import cn.xlsea.influx.impl.InfluxPlusImpl;
import cn.xlsea.influx.property.InfluxProperty;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;

/**
 * 支付配置类
 *
 * @author xlsea
 */
@Slf4j
@EnableConfigurationProperties(InfluxProperty.class)
public class InfluxPlusAutoConfiguration {

    @Bean
    public InfluxPlus influxPlus() {
        return new InfluxPlusImpl();
    }

}
